// TreeNode.ts
export interface TreeNode {
  id: string;
  title: string;
  type: string;
  checked: boolean;
  spread: boolean;
  database: string;
  table: string;
  db_id: number;
  vision: boolean;
  parentId: string;
  children?: TreeNode[];
  more: number;
  field: string;
  columns: string[];
}

// {
//     "id": "dblink_dbname_table1",
//     "title": "table1",
//     "type": "db_table",
//     "checked": false,
//     "spread": false,
//     "children": []
// }